Optimal. Leaf size=97 \[ -\frac{2 (a \sin (c+d x)+a)^{21/2}}{21 a^7 d}+\frac{12 (a \sin (c+d x)+a)^{19/2}}{19 a^6 d}-\frac{24 (a \sin (c+d x)+a)^{17/2}}{17 a^5 d}+\frac{16 (a \sin (c+d x)+a)^{15/2}}{15 a^4 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.079213, antiderivative size = 97, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.087, Rules used = {2667, 43} \[ -\frac{2 (a \sin (c+d x)+a)^{21/2}}{21 a^7 d}+\frac{12 (a \sin (c+d x)+a)^{19/2}}{19 a^6 d}-\frac{24 (a \sin (c+d x)+a)^{17/2}}{17 a^5 d}+\frac{16 (a \sin (c+d x)+a)^{15/2}}{15 a^4 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2667
Rule 43
Rubi steps
\begin{align*} \int \cos ^7(c+d x) (a+a \sin (c+d x))^{7/2} \, dx &=\frac{\operatorname{Subst}\left (\int (a-x)^3 (a+x)^{13/2} \, dx,x,a \sin (c+d x)\right )}{a^7 d}\\ &=\frac{\operatorname{Subst}\left (\int \left (8 a^3 (a+x)^{13/2}-12 a^2 (a+x)^{15/2}+6 a (a+x)^{17/2}-(a+x)^{19/2}\right ) \, dx,x,a \sin (c+d x)\right )}{a^7 d}\\ &=\frac{16 (a+a \sin (c+d x))^{15/2}}{15 a^4 d}-\frac{24 (a+a \sin (c+d x))^{17/2}}{17 a^5 d}+\frac{12 (a+a \sin (c+d x))^{19/2}}{19 a^6 d}-\frac{2 (a+a \sin (c+d x))^{21/2}}{21 a^7 d}\\ \end{align*}
Mathematica [A] time = 0.601816, size = 64, normalized size = 0.66 \[ -\frac{2 a^3 (\sin (c+d x)+1)^7 \left (1615 \sin ^3(c+d x)-5865 \sin ^2(c+d x)+7365 \sin (c+d x)-3243\right ) \sqrt{a (\sin (c+d x)+1)}}{33915 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.131, size = 57, normalized size = 0.6 \begin{align*}{\frac{3230\, \left ( \cos \left ( dx+c \right ) \right ) ^{2}\sin \left ( dx+c \right ) -11730\, \left ( \cos \left ( dx+c \right ) \right ) ^{2}-17960\,\sin \left ( dx+c \right ) +18216}{33915\,{a}^{4}d} \left ( a+a\sin \left ( dx+c \right ) \right ) ^{{\frac{15}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.944939, size = 97, normalized size = 1. \begin{align*} -\frac{2 \,{\left (1615 \,{\left (a \sin \left (d x + c\right ) + a\right )}^{\frac{21}{2}} - 10710 \,{\left (a \sin \left (d x + c\right ) + a\right )}^{\frac{19}{2}} a + 23940 \,{\left (a \sin \left (d x + c\right ) + a\right )}^{\frac{17}{2}} a^{2} - 18088 \,{\left (a \sin \left (d x + c\right ) + a\right )}^{\frac{15}{2}} a^{3}\right )}}{33915 \, a^{7} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.9035, size = 410, normalized size = 4.23 \begin{align*} \frac{2 \,{\left (1615 \, a^{3} \cos \left (d x + c\right )^{10} - 8300 \, a^{3} \cos \left (d x + c\right )^{8} + 264 \, a^{3} \cos \left (d x + c\right )^{6} + 448 \, a^{3} \cos \left (d x + c\right )^{4} + 1024 \, a^{3} \cos \left (d x + c\right )^{2} + 8192 \, a^{3} - 8 \,{\left (680 \, a^{3} \cos \left (d x + c\right )^{8} - 429 \, a^{3} \cos \left (d x + c\right )^{6} - 504 \, a^{3} \cos \left (d x + c\right )^{4} - 640 \, a^{3} \cos \left (d x + c\right )^{2} - 1024 \, a^{3}\right )} \sin \left (d x + c\right )\right )} \sqrt{a \sin \left (d x + c\right ) + a}}{33915 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sin \left (d x + c\right ) + a\right )}^{\frac{7}{2}} \cos \left (d x + c\right )^{7}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]